package com.k2data.test.testng.listener.interceptor;

import org.testng.annotations.Listeners;
import org.testng.annotations.Test;

/**
 * IMethodInterceptor demo
 * @author wangchuan 2019-03-18
 *
 */
@Listeners(IMethodInterceptorListener.class)
public class IMethodInterceptorExample {

	@Test(description=IMethodInterceptorListener.DESC_KEY + " test_method_1")
	public void t1() {
		System.out.println("run t1()");
	}
	
	@Test(description=" test_method_2")
	public void t2() {
		System.out.println("run t2()");
	}
	
	@Test(description=IMethodInterceptorListener.DESC_KEY + " test_method_3")
	public void t3() {
		System.out.println("run t3()");
	}
}
